package com.candy.candyorderrpc.service;

import com.candy.candycommon.utils.ResultBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "candy-order", path = "order")
public interface OrderService {

    @RequestMapping("getByOrderId")
    ResultBean getByOrderId(@RequestParam Long orderId);

}
